package org.hxyjs.entity;

import java.util.ArrayList;
import java.util.List;

public class RestaurantExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public RestaurantExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andRnoIsNull() {
            addCriterion("rno is null");
            return (Criteria) this;
        }

        public Criteria andRnoIsNotNull() {
            addCriterion("rno is not null");
            return (Criteria) this;
        }

        public Criteria andRnoEqualTo(String value) {
            addCriterion("rno =", value, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoNotEqualTo(String value) {
            addCriterion("rno <>", value, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoGreaterThan(String value) {
            addCriterion("rno >", value, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoGreaterThanOrEqualTo(String value) {
            addCriterion("rno >=", value, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoLessThan(String value) {
            addCriterion("rno <", value, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoLessThanOrEqualTo(String value) {
            addCriterion("rno <=", value, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoLike(String value) {
            addCriterion("rno like", value, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoNotLike(String value) {
            addCriterion("rno not like", value, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoIn(List<String> values) {
            addCriterion("rno in", values, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoNotIn(List<String> values) {
            addCriterion("rno not in", values, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoBetween(String value1, String value2) {
            addCriterion("rno between", value1, value2, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoNotBetween(String value1, String value2) {
            addCriterion("rno not between", value1, value2, "rno");
            return (Criteria) this;
        }

        public Criteria andRnameIsNull() {
            addCriterion("rname is null");
            return (Criteria) this;
        }

        public Criteria andRnameIsNotNull() {
            addCriterion("rname is not null");
            return (Criteria) this;
        }

        public Criteria andRnameEqualTo(String value) {
            addCriterion("rname =", value, "rname");
            return (Criteria) this;
        }

        public Criteria andRnameNotEqualTo(String value) {
            addCriterion("rname <>", value, "rname");
            return (Criteria) this;
        }

        public Criteria andRnameGreaterThan(String value) {
            addCriterion("rname >", value, "rname");
            return (Criteria) this;
        }

        public Criteria andRnameGreaterThanOrEqualTo(String value) {
            addCriterion("rname >=", value, "rname");
            return (Criteria) this;
        }

        public Criteria andRnameLessThan(String value) {
            addCriterion("rname <", value, "rname");
            return (Criteria) this;
        }

        public Criteria andRnameLessThanOrEqualTo(String value) {
            addCriterion("rname <=", value, "rname");
            return (Criteria) this;
        }

        public Criteria andRnameLike(String value) {
            addCriterion("rname like", value, "rname");
            return (Criteria) this;
        }

        public Criteria andRnameNotLike(String value) {
            addCriterion("rname not like", value, "rname");
            return (Criteria) this;
        }

        public Criteria andRnameIn(List<String> values) {
            addCriterion("rname in", values, "rname");
            return (Criteria) this;
        }

        public Criteria andRnameNotIn(List<String> values) {
            addCriterion("rname not in", values, "rname");
            return (Criteria) this;
        }

        public Criteria andRnameBetween(String value1, String value2) {
            addCriterion("rname between", value1, value2, "rname");
            return (Criteria) this;
        }

        public Criteria andRnameNotBetween(String value1, String value2) {
            addCriterion("rname not between", value1, value2, "rname");
            return (Criteria) this;
        }

        public Criteria andRstateIsNull() {
            addCriterion("rstate is null");
            return (Criteria) this;
        }

        public Criteria andRstateIsNotNull() {
            addCriterion("rstate is not null");
            return (Criteria) this;
        }

        public Criteria andRstateEqualTo(String value) {
            addCriterion("rstate =", value, "rstate");
            return (Criteria) this;
        }

        public Criteria andRstateNotEqualTo(String value) {
            addCriterion("rstate <>", value, "rstate");
            return (Criteria) this;
        }

        public Criteria andRstateGreaterThan(String value) {
            addCriterion("rstate >", value, "rstate");
            return (Criteria) this;
        }

        public Criteria andRstateGreaterThanOrEqualTo(String value) {
            addCriterion("rstate >=", value, "rstate");
            return (Criteria) this;
        }

        public Criteria andRstateLessThan(String value) {
            addCriterion("rstate <", value, "rstate");
            return (Criteria) this;
        }

        public Criteria andRstateLessThanOrEqualTo(String value) {
            addCriterion("rstate <=", value, "rstate");
            return (Criteria) this;
        }

        public Criteria andRstateLike(String value) {
            addCriterion("rstate like", value, "rstate");
            return (Criteria) this;
        }

        public Criteria andRstateNotLike(String value) {
            addCriterion("rstate not like", value, "rstate");
            return (Criteria) this;
        }

        public Criteria andRstateIn(List<String> values) {
            addCriterion("rstate in", values, "rstate");
            return (Criteria) this;
        }

        public Criteria andRstateNotIn(List<String> values) {
            addCriterion("rstate not in", values, "rstate");
            return (Criteria) this;
        }

        public Criteria andRstateBetween(String value1, String value2) {
            addCriterion("rstate between", value1, value2, "rstate");
            return (Criteria) this;
        }

        public Criteria andRstateNotBetween(String value1, String value2) {
            addCriterion("rstate not between", value1, value2, "rstate");
            return (Criteria) this;
        }

        public Criteria andRidIsNull() {
            addCriterion("rid is null");
            return (Criteria) this;
        }

        public Criteria andRidIsNotNull() {
            addCriterion("rid is not null");
            return (Criteria) this;
        }

        public Criteria andRidEqualTo(String value) {
            addCriterion("rid =", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidNotEqualTo(String value) {
            addCriterion("rid <>", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidGreaterThan(String value) {
            addCriterion("rid >", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidGreaterThanOrEqualTo(String value) {
            addCriterion("rid >=", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidLessThan(String value) {
            addCriterion("rid <", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidLessThanOrEqualTo(String value) {
            addCriterion("rid <=", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidLike(String value) {
            addCriterion("rid like", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidNotLike(String value) {
            addCriterion("rid not like", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidIn(List<String> values) {
            addCriterion("rid in", values, "rid");
            return (Criteria) this;
        }

        public Criteria andRidNotIn(List<String> values) {
            addCriterion("rid not in", values, "rid");
            return (Criteria) this;
        }

        public Criteria andRidBetween(String value1, String value2) {
            addCriterion("rid between", value1, value2, "rid");
            return (Criteria) this;
        }

        public Criteria andRidNotBetween(String value1, String value2) {
            addCriterion("rid not between", value1, value2, "rid");
            return (Criteria) this;
        }

        public Criteria andRpwdIsNull() {
            addCriterion("rpwd is null");
            return (Criteria) this;
        }

        public Criteria andRpwdIsNotNull() {
            addCriterion("rpwd is not null");
            return (Criteria) this;
        }

        public Criteria andRpwdEqualTo(String value) {
            addCriterion("rpwd =", value, "rpwd");
            return (Criteria) this;
        }

        public Criteria andRpwdNotEqualTo(String value) {
            addCriterion("rpwd <>", value, "rpwd");
            return (Criteria) this;
        }

        public Criteria andRpwdGreaterThan(String value) {
            addCriterion("rpwd >", value, "rpwd");
            return (Criteria) this;
        }

        public Criteria andRpwdGreaterThanOrEqualTo(String value) {
            addCriterion("rpwd >=", value, "rpwd");
            return (Criteria) this;
        }

        public Criteria andRpwdLessThan(String value) {
            addCriterion("rpwd <", value, "rpwd");
            return (Criteria) this;
        }

        public Criteria andRpwdLessThanOrEqualTo(String value) {
            addCriterion("rpwd <=", value, "rpwd");
            return (Criteria) this;
        }

        public Criteria andRpwdLike(String value) {
            addCriterion("rpwd like", value, "rpwd");
            return (Criteria) this;
        }

        public Criteria andRpwdNotLike(String value) {
            addCriterion("rpwd not like", value, "rpwd");
            return (Criteria) this;
        }

        public Criteria andRpwdIn(List<String> values) {
            addCriterion("rpwd in", values, "rpwd");
            return (Criteria) this;
        }

        public Criteria andRpwdNotIn(List<String> values) {
            addCriterion("rpwd not in", values, "rpwd");
            return (Criteria) this;
        }

        public Criteria andRpwdBetween(String value1, String value2) {
            addCriterion("rpwd between", value1, value2, "rpwd");
            return (Criteria) this;
        }

        public Criteria andRpwdNotBetween(String value1, String value2) {
            addCriterion("rpwd not between", value1, value2, "rpwd");
            return (Criteria) this;
        }

        public Criteria andRimgIsNull() {
            addCriterion("rimg is null");
            return (Criteria) this;
        }

        public Criteria andRimgIsNotNull() {
            addCriterion("rimg is not null");
            return (Criteria) this;
        }

        public Criteria andRimgEqualTo(String value) {
            addCriterion("rimg =", value, "rimg");
            return (Criteria) this;
        }

        public Criteria andRimgNotEqualTo(String value) {
            addCriterion("rimg <>", value, "rimg");
            return (Criteria) this;
        }

        public Criteria andRimgGreaterThan(String value) {
            addCriterion("rimg >", value, "rimg");
            return (Criteria) this;
        }

        public Criteria andRimgGreaterThanOrEqualTo(String value) {
            addCriterion("rimg >=", value, "rimg");
            return (Criteria) this;
        }

        public Criteria andRimgLessThan(String value) {
            addCriterion("rimg <", value, "rimg");
            return (Criteria) this;
        }

        public Criteria andRimgLessThanOrEqualTo(String value) {
            addCriterion("rimg <=", value, "rimg");
            return (Criteria) this;
        }

        public Criteria andRimgLike(String value) {
            addCriterion("rimg like", value, "rimg");
            return (Criteria) this;
        }

        public Criteria andRimgNotLike(String value) {
            addCriterion("rimg not like", value, "rimg");
            return (Criteria) this;
        }

        public Criteria andRimgIn(List<String> values) {
            addCriterion("rimg in", values, "rimg");
            return (Criteria) this;
        }

        public Criteria andRimgNotIn(List<String> values) {
            addCriterion("rimg not in", values, "rimg");
            return (Criteria) this;
        }

        public Criteria andRimgBetween(String value1, String value2) {
            addCriterion("rimg between", value1, value2, "rimg");
            return (Criteria) this;
        }

        public Criteria andRimgNotBetween(String value1, String value2) {
            addCriterion("rimg not between", value1, value2, "rimg");
            return (Criteria) this;
        }

        public Criteria andRiddrIsNull() {
            addCriterion("riddr is null");
            return (Criteria) this;
        }

        public Criteria andRiddrIsNotNull() {
            addCriterion("riddr is not null");
            return (Criteria) this;
        }

        public Criteria andRiddrEqualTo(String value) {
            addCriterion("riddr =", value, "riddr");
            return (Criteria) this;
        }

        public Criteria andRiddrNotEqualTo(String value) {
            addCriterion("riddr <>", value, "riddr");
            return (Criteria) this;
        }

        public Criteria andRiddrGreaterThan(String value) {
            addCriterion("riddr >", value, "riddr");
            return (Criteria) this;
        }

        public Criteria andRiddrGreaterThanOrEqualTo(String value) {
            addCriterion("riddr >=", value, "riddr");
            return (Criteria) this;
        }

        public Criteria andRiddrLessThan(String value) {
            addCriterion("riddr <", value, "riddr");
            return (Criteria) this;
        }

        public Criteria andRiddrLessThanOrEqualTo(String value) {
            addCriterion("riddr <=", value, "riddr");
            return (Criteria) this;
        }

        public Criteria andRiddrLike(String value) {
            addCriterion("riddr like", value, "riddr");
            return (Criteria) this;
        }

        public Criteria andRiddrNotLike(String value) {
            addCriterion("riddr not like", value, "riddr");
            return (Criteria) this;
        }

        public Criteria andRiddrIn(List<String> values) {
            addCriterion("riddr in", values, "riddr");
            return (Criteria) this;
        }

        public Criteria andRiddrNotIn(List<String> values) {
            addCriterion("riddr not in", values, "riddr");
            return (Criteria) this;
        }

        public Criteria andRiddrBetween(String value1, String value2) {
            addCriterion("riddr between", value1, value2, "riddr");
            return (Criteria) this;
        }

        public Criteria andRiddrNotBetween(String value1, String value2) {
            addCriterion("riddr not between", value1, value2, "riddr");
            return (Criteria) this;
        }

        public Criteria andRbusIsNull() {
            addCriterion("rbus is null");
            return (Criteria) this;
        }

        public Criteria andRbusIsNotNull() {
            addCriterion("rbus is not null");
            return (Criteria) this;
        }

        public Criteria andRbusEqualTo(String value) {
            addCriterion("rbus =", value, "rbus");
            return (Criteria) this;
        }

        public Criteria andRbusNotEqualTo(String value) {
            addCriterion("rbus <>", value, "rbus");
            return (Criteria) this;
        }

        public Criteria andRbusGreaterThan(String value) {
            addCriterion("rbus >", value, "rbus");
            return (Criteria) this;
        }

        public Criteria andRbusGreaterThanOrEqualTo(String value) {
            addCriterion("rbus >=", value, "rbus");
            return (Criteria) this;
        }

        public Criteria andRbusLessThan(String value) {
            addCriterion("rbus <", value, "rbus");
            return (Criteria) this;
        }

        public Criteria andRbusLessThanOrEqualTo(String value) {
            addCriterion("rbus <=", value, "rbus");
            return (Criteria) this;
        }

        public Criteria andRbusLike(String value) {
            addCriterion("rbus like", value, "rbus");
            return (Criteria) this;
        }

        public Criteria andRbusNotLike(String value) {
            addCriterion("rbus not like", value, "rbus");
            return (Criteria) this;
        }

        public Criteria andRbusIn(List<String> values) {
            addCriterion("rbus in", values, "rbus");
            return (Criteria) this;
        }

        public Criteria andRbusNotIn(List<String> values) {
            addCriterion("rbus not in", values, "rbus");
            return (Criteria) this;
        }

        public Criteria andRbusBetween(String value1, String value2) {
            addCriterion("rbus between", value1, value2, "rbus");
            return (Criteria) this;
        }

        public Criteria andRbusNotBetween(String value1, String value2) {
            addCriterion("rbus not between", value1, value2, "rbus");
            return (Criteria) this;
        }

        public Criteria andRcalIsNull() {
            addCriterion("rcal is null");
            return (Criteria) this;
        }

        public Criteria andRcalIsNotNull() {
            addCriterion("rcal is not null");
            return (Criteria) this;
        }

        public Criteria andRcalEqualTo(String value) {
            addCriterion("rcal =", value, "rcal");
            return (Criteria) this;
        }

        public Criteria andRcalNotEqualTo(String value) {
            addCriterion("rcal <>", value, "rcal");
            return (Criteria) this;
        }

        public Criteria andRcalGreaterThan(String value) {
            addCriterion("rcal >", value, "rcal");
            return (Criteria) this;
        }

        public Criteria andRcalGreaterThanOrEqualTo(String value) {
            addCriterion("rcal >=", value, "rcal");
            return (Criteria) this;
        }

        public Criteria andRcalLessThan(String value) {
            addCriterion("rcal <", value, "rcal");
            return (Criteria) this;
        }

        public Criteria andRcalLessThanOrEqualTo(String value) {
            addCriterion("rcal <=", value, "rcal");
            return (Criteria) this;
        }

        public Criteria andRcalLike(String value) {
            addCriterion("rcal like", value, "rcal");
            return (Criteria) this;
        }

        public Criteria andRcalNotLike(String value) {
            addCriterion("rcal not like", value, "rcal");
            return (Criteria) this;
        }

        public Criteria andRcalIn(List<String> values) {
            addCriterion("rcal in", values, "rcal");
            return (Criteria) this;
        }

        public Criteria andRcalNotIn(List<String> values) {
            addCriterion("rcal not in", values, "rcal");
            return (Criteria) this;
        }

        public Criteria andRcalBetween(String value1, String value2) {
            addCriterion("rcal between", value1, value2, "rcal");
            return (Criteria) this;
        }

        public Criteria andRcalNotBetween(String value1, String value2) {
            addCriterion("rcal not between", value1, value2, "rcal");
            return (Criteria) this;
        }

        public Criteria andRemailIsNull() {
            addCriterion("remail is null");
            return (Criteria) this;
        }

        public Criteria andRemailIsNotNull() {
            addCriterion("remail is not null");
            return (Criteria) this;
        }

        public Criteria andRemailEqualTo(String value) {
            addCriterion("remail =", value, "remail");
            return (Criteria) this;
        }

        public Criteria andRemailNotEqualTo(String value) {
            addCriterion("remail <>", value, "remail");
            return (Criteria) this;
        }

        public Criteria andRemailGreaterThan(String value) {
            addCriterion("remail >", value, "remail");
            return (Criteria) this;
        }

        public Criteria andRemailGreaterThanOrEqualTo(String value) {
            addCriterion("remail >=", value, "remail");
            return (Criteria) this;
        }

        public Criteria andRemailLessThan(String value) {
            addCriterion("remail <", value, "remail");
            return (Criteria) this;
        }

        public Criteria andRemailLessThanOrEqualTo(String value) {
            addCriterion("remail <=", value, "remail");
            return (Criteria) this;
        }

        public Criteria andRemailLike(String value) {
            addCriterion("remail like", value, "remail");
            return (Criteria) this;
        }

        public Criteria andRemailNotLike(String value) {
            addCriterion("remail not like", value, "remail");
            return (Criteria) this;
        }

        public Criteria andRemailIn(List<String> values) {
            addCriterion("remail in", values, "remail");
            return (Criteria) this;
        }

        public Criteria andRemailNotIn(List<String> values) {
            addCriterion("remail not in", values, "remail");
            return (Criteria) this;
        }

        public Criteria andRemailBetween(String value1, String value2) {
            addCriterion("remail between", value1, value2, "remail");
            return (Criteria) this;
        }

        public Criteria andRemailNotBetween(String value1, String value2) {
            addCriterion("remail not between", value1, value2, "remail");
            return (Criteria) this;
        }

        public Criteria andRphoneIsNull() {
            addCriterion("rphone is null");
            return (Criteria) this;
        }

        public Criteria andRphoneIsNotNull() {
            addCriterion("rphone is not null");
            return (Criteria) this;
        }

        public Criteria andRphoneEqualTo(String value) {
            addCriterion("rphone =", value, "rphone");
            return (Criteria) this;
        }

        public Criteria andRphoneNotEqualTo(String value) {
            addCriterion("rphone <>", value, "rphone");
            return (Criteria) this;
        }

        public Criteria andRphoneGreaterThan(String value) {
            addCriterion("rphone >", value, "rphone");
            return (Criteria) this;
        }

        public Criteria andRphoneGreaterThanOrEqualTo(String value) {
            addCriterion("rphone >=", value, "rphone");
            return (Criteria) this;
        }

        public Criteria andRphoneLessThan(String value) {
            addCriterion("rphone <", value, "rphone");
            return (Criteria) this;
        }

        public Criteria andRphoneLessThanOrEqualTo(String value) {
            addCriterion("rphone <=", value, "rphone");
            return (Criteria) this;
        }

        public Criteria andRphoneLike(String value) {
            addCriterion("rphone like", value, "rphone");
            return (Criteria) this;
        }

        public Criteria andRphoneNotLike(String value) {
            addCriterion("rphone not like", value, "rphone");
            return (Criteria) this;
        }

        public Criteria andRphoneIn(List<String> values) {
            addCriterion("rphone in", values, "rphone");
            return (Criteria) this;
        }

        public Criteria andRphoneNotIn(List<String> values) {
            addCriterion("rphone not in", values, "rphone");
            return (Criteria) this;
        }

        public Criteria andRphoneBetween(String value1, String value2) {
            addCriterion("rphone between", value1, value2, "rphone");
            return (Criteria) this;
        }

        public Criteria andRphoneNotBetween(String value1, String value2) {
            addCriterion("rphone not between", value1, value2, "rphone");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}